package com.lupengning.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lupengning.mybatisplus.entity.User;
import java.util.List;
import org.springframework.stereotype.Repository;

/**
 * @author lupen
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

  /**
   * 自定义Mapper方法,影射到UserMapper.xml文件中
   * @param name
   * @return
   */
  List<User> selectAllByName(String name);
}
